package edu.zut.software.identity.domain;


import com.sun.istack.Nullable;
import lombok.Data;


import javax.persistence.*;

@Entity(name="stu_college")
@Data
public class StuCollege {

    @Column
    String name;
    @Id
    @Column
    String id;
    @Column
    @Nullable
    int wx_id;
    @Column
    int wx_parentid;
    @Column
    int px;

    public int getPx() {
        return px;
    }

    public void setPx(int px) {
        this.px = px;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getWx_id() {
        return wx_id;
    }

    public void setWx_id(int wx_id) {
        this.wx_id = wx_id;
    }

    public int getWx_parentid() {
        return wx_parentid;
    }

    public void setWx_parentid(int wx_parentid) {
        this.wx_parentid = wx_parentid;
    }



}
